package com.fjec.market.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fjec.common.protocol.JsonResult;
import com.fjec.market.entity.BizOrderComplaint;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 046.订单投诉表 服务类
 * </p>
 *
 * @author admin
 * @since 2020-09-21
 */
public interface IBizOrderComplaintService extends IService<BizOrderComplaint> {


//    JsonResult subOrderComplaint(String picIds, String picUrls);

    JsonResult subOrderComplaint(Long id, String context, String contact, String phone,
                                 String picIds, String picUrls);

    List<Map<String, Object>> getComplaintsByConditions(Integer searchBy, String title, Integer busiType, Integer markCode, Integer orderType, Integer handleResult, String startTime, String endTime);

    int handleComplaint(Long orderId, Long subOrderId, Long complaintId, Integer handleType, String amount, String complaintText);
}
